import request from "@/request";

/**
 * 获取所有餐厅的信息：经度、纬度、id、餐厅名称
 * @param formData 以table形式传输至后端的数据
 * @returns {*}
 */
export function getAllRestaurants(formData) {
    return request({
        url: '/restaurant/atlas',
        method: 'post',
        headers: {"Content-Type": "multipart/form-data"},
        data: formData
    })
}